<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户输入信息</title>
</head>

<body>
    <script>
        let score = parseInt(prompt("请输入您的成绩"));
        if (score < 60) {
            console.log("E");
        } else if (score < 70) {
            console.log("D");
        } else if (score < 80) {
            console.log("C");
        } else if (score < 90) {
            console.log("B");
        } else if (score <= 100) {
            console.log("A");
        } else {
            console.log("您输入的成绩已超过范围!");
        }
    </script>
</body>

</html>